import random
i = 1
n = random.randint(1,100)
while 1:
    if i==6:
        print("这局你输了!正确的数是%d"%n)
    a = int(input("第",i,"次猜:"))
    if a == n:
        print("棒! 你猜对了")
    if a > n:
        print("比这个小")
    else:
        print("比这个大")
    i+=1



